﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;


namespace Process.Infrastructure.Interface
{
    public interface IBaseRepository<T> where T : class, new()
    {
        Task<int> InsertAsync(T entity);
        Task<int> UpdateAsync(T entity);
        Task<int> DeleteAsync(T entity);
        IQueryable<T> GetAll();
    }
}
